package com.bawei.es.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author : zhangyu
 * @date 2023/11/24 16:02
 */
@Data
@ApiModel("es批量删除入参")
public class BulkDeleteDocs {

    @NotNull(message = "索引名称不能为空")
    @ApiModelProperty(value = "索引名称")
    private String indexName;

    @ApiModelProperty("文档id集合")
    private List<Long> ids;


}
